﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for BKICarInsurance
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class BKICarInsurance
    {
        private Int64 _cecarid;
        private Int64 _refceuserid;
        private string _packname;
        private string _effdate;
        private double _sumins;
        private string _risk;
        private double _tpbiper;
        private double _tpbiacc;
        private double _tppd;
        private double _c123driver;
        private double _c123pass;
        private double _c123seat;
        private double _medical;
        private double _bailbond;
        private double _discdeduct;
        private double _discdeductlib;
        private double _discncb;
        private double _grosspremvol;
        private double _totalpremvol;
        private double _grosspremcomp;
        private double _totalpremcomp;
        private string _status;
        private string _remark;
        private string _pack_no;
        private string _package_code;
        private string _package_seq;
        private string _plan_seq;
        private string _sub_plan;
        private string _bkicarcode;

        public BKICarInsurance()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }
        public string PackName
        {
            get { return _packname; }
            set { _packname = value; }
        }

        public string EffDate
        {
            get { return _effdate; }
            set { _effdate = value; }
        }

        public double SumIns
        {
            get { return _sumins; }
            set { _sumins = value; }
        }

        public string Risk
        {
            get { return _risk; }
            set { _risk = value; }
        }

        public double TpbiPer
        {
            get { return _tpbiper; }
            set { _tpbiper = value; }
        }

        public double TpbiAcc
        {
            get { return _tpbiacc; }
            set { _tpbiacc = value; }
        }

        public double Tppd
        {
            get { return _tppd; }
            set { _tppd = value; }
        }

        public double C123Driver
        {
            get { return _c123driver; }
            set { _c123driver = value; }
        }

        public double C123Pass
        {
            get { return _c123pass; }
            set { _c123pass = value; }
        }
        public double C123Seat
        {
            get { return _c123seat; }
            set { _c123seat = value; }
        }
        public double Medical
        {
            get { return _medical; }
            set { _medical = value; }
        }
        public double BailBond
        {
            get { return _bailbond; }
            set { _bailbond = value; }
        }

        public double DiscDeduct
        {
            get { return _discdeduct; }
            set { _discdeduct = value; }
        }
        public double DiscDeductLib
        {
            get { return _discdeductlib; }
            set { _discdeductlib = value; }
        }

        public double DiscNCB
        {
            get { return _discncb; }
            set { _discncb = value; }
        }
        public double GrossPremVol
        {
            get { return _grosspremvol; }
            set { _grosspremvol = value; }
        }

        public double TotalPremVol
        {
            get { return _totalpremvol; }
            set { _totalpremvol = value; }
        }

        public double GrossPremComp
        {
            get { return _grosspremcomp; }
            set { _grosspremcomp = value; }
        }

        public double TotalPremComp
        {
            get { return _totalpremcomp; }
            set { _totalpremcomp = value; }
        }
        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        public string PackNo
        {
            get { return _pack_no; }
            set { _pack_no = value; }
        }
        public string PackageCode
        {
            get { return _package_code; }
            set { _package_code = value; }
        }
        public string PackageSeq
        {
            get { return _package_seq; }
            set { _package_seq = value; }
        }
        public string PlanSeq
        {
            get { return _plan_seq; }
            set { _plan_seq = value; }
        }
        public string SubPlan
        {
            get { return _sub_plan; }
            set { _sub_plan = value; }
        }
        public string BKICarCode
        {
            get { return _bkicarcode; }
            set { _bkicarcode = value; }
        }
        public void ClearFields()
        {
            _cecarid = 0;
            _refceuserid = 0;
            _packname = "";
            _effdate = "";
            _sumins = 0;
            _risk = "";
            _tpbiper = 0;
            _tpbiacc = 0;
            _tppd = 0;
            _c123driver = 0;
            _c123pass = 0;
            _c123seat = 0;
            _medical = 0;
            _bailbond = 0;
            _discdeduct = 0;
            _discdeductlib = 0;
            _discncb = 0;
            _grosspremvol = 0;
            _totalpremvol = 0;
            _grosspremcomp = 0;
            _totalpremcomp = 0;
            _status = "";
            _remark = "";
            _pack_no = "";
            _package_code = "";
            _package_seq = "";
            _plan_seq = "";
            _sub_plan = "";
            _bkicarcode = "";
        }
    }
}